@echo off
:1
gen.py > lucky.in
echo running lucky.exe
lucky.exe
echo running lucky_genfunc
java -Xmx256m -Xss64m Main
echo done
fc lucky.out lucky_gen_func.out
if errorlevel 1 goto 2
echo ok..
goto 1
:2
